package edu.gatech.blackjackai.carddata;

/**
 * CardValue is an enum that represents a card within a deck of cards. Each card has a value,
 * which is given to it by the game of Blackjack. The duality in value of the ace is not
 * dealt with here;
 * @author Sean Gillespie
 * @version 1.0
 *
 */
public enum CardValue {
	TWO (2), 
	THREE (3), 
	FOUR (4), 
	FIVE (5), 
	SIX (6), 
	SEVEN (7), 
	EIGHT (8), 
	NINE (9), 
	TEN (10), 
	J (10), 
	Q (10), 
	K (10), 
	A (11);
	
	private final int value;
	
	CardValue(int value) {
		this.value = value;
	}
	
	int value() {
		return value;
	}
	
	
}
